package com.lianjie.address.dao;

import com.lianjie.address.entity.ChainmakerEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ChainmakerDao extends JpaRepository<ChainmakerEntity, Integer> {
    List<ChainmakerEntity> findAllByUsed(int used);

    ChainmakerEntity findByUuserId(String uuserId);
}
